package main.java.com.blog.service;


import com.blog.entity.Art;

import java.util.List;

/**
 * Created by Admin on 2017/6/6.
 */
public interface ArtService {

    int addArt(Art art);

    int deleteByTitle(String artTitle);

    int deleteById(int artId);

    Art findByTitle(String artTitle);

    Art findById(int id);

    List<Art> findByArtAccount(String userAccount);

    List<Art> findByAll();
}
